#include <stdio.h>
#include <stdlib.h>
#include "array_func_add_test.h"
#include <stdint.h>
#include "../section_locate.h"


static char name[30] = "array_func_add_test";
struct func_pack sec_array_func_add_test __attribute__ ( ( section ( "func_area" ) ) ) = {
    .func_addr = array_func_add_test,
	.name_str = (uint32_t *)&name,
};


//static void foo(void)
//{
//    ;
//}
void array_func_add_test(void)
{
#if 0
    char a[5];
    char *p = NULL;
    char (*f)[5] = NULL;
    f = &a;
    p = &a;
    printf("%p\n", p);
    p = &a[0];
    printf("%p\n", p);
    p = a;
    printf("%p\n", p);
    p = foo;
    printf("%p\n", p);
    p = &foo;
    printf("%p\n", p);
    p = (char *)foo;
    printf("%p\n", p);

#endif // 0
}

